﻿using Abp.AutoMapper;
using Basefr.App.Dtos;
using Paas.App.Interface.MetaForms.Dtos;
using Paas.Core.Const.Enums;
using Paas.Core.MetaPages.Entities;
using Paas.Core.MetaTables.Entities;
using System;
using System.Collections.Generic;

namespace Paas.App.Interface.MetaPages.Dtos
{
    [AutoMap(typeof(MetaPage))]
    public class MetaPageDto : DtoBase<Guid>
    {
        /// <summary>
        /// 页面所属的应用
        /// </summary>
        public int? ApplicationId { get; set; }

        /// <summary>
        /// 页面英文名称
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 页面的显示名称，默认中文
        /// </summary>
        public string Label { get; set; }

        /// <summary>
        /// 描述信息
        /// </summary>
        public string Description { get; set; }

        /// <summary>
        /// 元数据状态
        /// </summary>
        public MetaStatus? CurrentStatus { get; set; }

        /// <summary>
        /// 包含视图id，以逗号隔开
        /// </summary>
        public string MetaViewIds { get; set; }


        /// <summary>
        /// 包含视图id
        /// </summary>
        public List<string> MetaViewIdList { get; set; }

        /// <summary>
        /// 包含视图名称，以逗号隔开
        /// </summary>
        public string MetaViews { get; set; }
    }

}
